package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_rate")
public class Rate implements Serializable {
    /**
     * 利率id
     */
    @TableId(value = "rate_id", type = IdType.AUTO)
    private Integer rateId;

    /**
     * 利率金额
     */
    @TableField(value = "rate_price")
    private BigDecimal ratePrice;

    /**
     * 利率值
     */
    @TableField(value = "rate_value")
    private BigDecimal rateValue;

    private static final long serialVersionUID = 1L;
}